﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Home_KhuyenMai.ascx.cs" Inherits="Home_KhuyenMai" %>
<div id="box-home-slide">
    <div style="margin-left:-30px;margin-bottom:40px;" class="pavilion-header">
        <div class="bg-title">
            <a href="List.aspx?type=khuyenmai">SẢN PHẨM KHUYẾN MÃI</a></div>
    </div>
    <div class="caroufredsel_wrapper" style="display: block; text-align: start; float: none; position: relative; top: auto; right: auto; bottom: auto; left: auto; z-index: auto; width: 900px; height: 194px; margin: 0px; overflow: hidden;"><div id="foo1" style="text-align: left; float: none; position: absolute; top: 0px; right: auto; bottom: auto; left: 0px; margin: 0px; width: 2380px; height: 194px;">
        <asp:Repeater runat="server" ID="rptKhuyenMai">
            <ItemTemplate>
                <div class="product-item">
                    <div class="bg_type_whatch">
                        <div class="pi-sales"><div class="pis-item"><%#Eval("chietkhau") %>%</div></div>
                        <div class="pi-thumb">
                            <a class="img-thumb" href="Detail.aspx?type=getbyid&id=<%#Eval("id") %>">
                                <img src="<%#TTQT.TTQT_Code.TTQTCommon.isNull(Eval("picUrl"),"").Replace("../","") %>" alt="<%#Eval("tenhang") %>"></a>
                        </div>
                        <div class="textRight">
                            <div class="get_info_pro">
                                <h2><a href="Detail.aspx?type=getbyid&id=<%#Eval("id") %>"><%#Eval("tenhang") %></a></h2>
                                <div style="color:#717171;text-decoration: line-through;" class="price">
                                    <span ><%#TTQT.TTQT_Code.TTQTCommon.formatTien_KhongThapPhan(Eval("GiaBanThamKhao").ToString())%></span>
                                    <span>&nbsp;VNĐ</span>
                                </div>
                                <div class="clear"></div>
                                <div class="product-price">
                                    <span ><%#TTQT.TTQT_Code.TTQTCommon.formatTien_KhongThapPhan(Eval("GiaBanCoChietKhau").ToString())%></span>
                                    <span>&nbsp;VNĐ</span>
                                </div>
                            </div>
                        </div>
                        <div id="item_<%#Eval("id") %>" class="type_btn_sosanh">
                            <a onclick="addToCompare('<%#Eval("id") %>',1,'<%#Eval("tenhang") %>','Detail.aspx?type=getbyid&id=<%#Eval("id") %>','<%#TTQT.TTQT_Code.TTQTCommon.isNull(Eval("picUrl"),"").Replace("../","") %>')" href="javascript:;"></a>
                        </div>
                    </div>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div></div>
    <div class="clearfix"></div>
    <a style="display: none;" id="prev" class="prevpro hidden" href="#prev">&nbsp;</a>
    <a style="display: none;" id="next" class="nextpro hidden" href="#next">&nbsp;</a>
</div>